package com.bjx.generator.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.bjx.generator.domain.entity.TableSonEntity;
import com.bjx.generator.domain.vo.TableSonVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @desc: 主子关联表
 * @author: liushuai
 * @date: 2022/9/22 14:54
 */
@Mapper
public interface TableSonMapper extends BaseMapper<TableSonEntity> {

    /**
     * 根据表id查询字表
     * @param wrapper
     * @return: java.util.List<com.bjx.generator.domain.vo.TableSonVO>
     * @Author: liushuai
     * @Date: 2022/9/27 15:58
     */
    List<TableSonVO> listTableSonByTableId(@Param(Constants.WRAPPER) QueryWrapper wrapper);
}